<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<title><?php echo $title;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<?php echo Html::style('media/user/style.css'); ?>
<?php echo Html::script('media/user/js/boxOver.js');?>
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="iecss.css" />
<![endif]-->
</head>
<body>
<div id="main_container">
  <div id="header">
  <?php echo Html::Image('media/user/images/banner.png', array('style' => array('position' => 'absolute', 'top' => '0', 'left' => '0')));?>
  <div class="top_right">
     <div class="languages">
        <div class="lang_text">
        </div>
     </div>
    </div>
  </div>
  <div id="main_content">
    <div id="menu_tab">
      <ul class="menu">
        <li><?php echo Html::anchor('', 'Home', array('class' => 'nav'));?></li>
        <li class="divider"></li>
        <li><?php echo Html::anchor('item/item/viewitems', 'All Products', array('class' => 'nav'));?></li>
        <li class="divider"></li>
        <li><?php echo Html::anchor('item/item/allpromotions/0', 'Specials', array('class' => 'nav'));?></li>
        <li class="divider"></li>
        <?php if($user = Auth::instance()->get_user() ):?>
        <li><?php echo Html::anchor('user/profile', 'My Account', array('class' => 'nav'));?></li>
        <?php else:?>
        <li><?php echo Html::anchor('user/register', 'Register', array('class' => 'nav'));?></li>
        <?php endif;?>
      </ul>
    </div>
    <!-- end of menu tab -->
    <div class="left_content">
    <!--
    <div class="title_box">Search</div>
		<?php //echo $search; ?>
		-->
	
	<?php echo $simplesearch;?>
	<?php  echo $sidebar; ?>
    </div>
    <!-- end of left content -->
    <div class="center_content">
    	<?php echo $currentpromotions;?>
		<?php echo $content;?>    
    </div>
    <!-- end of center content -->
    <div class="right_content"> 
    	<?php echo $user_info;?>
    	<?php echo $cart;?>
    </div>
    <!-- end of right content -->
  </div>
  <!-- end of main content -->
  <div class="footer">
    <div class="left_footer">
    </div>
    <div class="center_footer"> Template name. All Rights Reserved 2008<br />
      <?php echo Html::Image('media/user/images/csscreme.jpg');?><br />
      <?php echo Html::Image('media/user/images/payment.gif');?>
      </div>
    <div class="right_footer"></div>
  </div>
</div>
<!-- end of main_container -->
</body>
</html>
